package com.seven.multiple.datasource.mapper.animal;

import com.seven.multiple.datasource.model.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author QH
 * @date 2019/9/9
 * @description
 */
@Mapper
@Repository
public interface UserMapper {

    @Insert("insert into user(id, name) values(#{id}, #{name})")
    void insert(User user);

}
